﻿@model Everynet.Models.PlanModel
@{
    ViewBag.Title = "EveryNet - Select Plan";
}
<title>@ViewBag.Title</title>
<section class="section-Container">
    <div class="pageTitle"> <img width="150" height="75" alt="about" src="@Url.Content("~/Content/images/pageTitleProducts.jpg")">
    </div>
    <div class="body-page">
    <b>Please select the plan below:</b>
    <br />    <br />
    
    <table cellpadding="4" cellspacing="4"  width="100%" border="0">
<tr>

 @foreach (var item in Model.PlanTypeList)
 {
     <td valign="top" align="left" >
   <span class="PlanTypes"><div class="productSignup"><h2>@item.PlanTypes</h2></div></span>
   <table cellpadding="4" cellspacing="4" border="0" width="100%">
    @foreach (var items in Model.PlanNameList)
    {
        if (items.PlanID == item.PlanID && items.VisiblePublic==true)
        {
             <tr>
           
             <td valign="top">
             <p style="float: left; margin: 0px;">
               <img src="@Url.Content("~/Content/images/arrow.gif")" alt=""/></p>
               <p style="float: left; margin: 0px; width: 92%;">
         <a href="@Url.Action("Index", @items.RedirectUrl)" class="hrefclass" id="hrefPlanID" rel="@items.ID">@items.Name</a></p>
          </td></tr>
        }
    }
   </table>
   </td>
 }
 </tr>
  @Html.HiddenFor(m => m.ID, new { @id = "hdnplanID" })
</table>
 
    <br />
    </div>
  </section>
   @section JavaScript
{
  <script src="@Url.Content("~/Scripts/client/home.js")" type="text/javascript"></script>
}